package com.travel.model.dto.service;

import com.travel.model.enums.PaymentMethod;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Future;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;
//预订请求 服务id 预订日期 支付方式 特殊要求
@Data
@Schema(description = "预订请求")
public class BookingRequest {
    @Schema(description = "服务ID")
    @NotNull(message = "服务ID不能为空")
    private Long serviceId;
    
    @Schema(description = "预订日期")
    @NotNull(message = "预订日期不能为空")
    @Future(message = "预订日期必须是将来日期")
    private LocalDateTime bookingDate;
    
    @Schema(description = "支付方式")
    @NotNull(message = "支付方式不能为空")
    private PaymentMethod paymentMethod;
    
    @Schema(description = "特殊要求")
    private String specialRequirements;
} 